package com.zhiche.lisa.lspm.dao.model.lsp;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 承运商份额完成情况统计
 * </p>
 *
 * @author qichao
 * @since 2018-06-27
 */
@TableName("lisa_lsp_share_performance")
public class LspSharePerformance extends Model<LspSharePerformance> {

    private static final long serialVersionUID = 1L;

	private Integer id;
    /**
     * 统计时间
     */
	@TableField("stat_date")
	private Date statDate;
	@TableField("route_id")
	private Integer routeId;
    /**
     * 总量
     */
	@TableField("share_amt")
	private Integer shareAmt;
    /**
     * 实际完成量（对应份额的）
     */
	@TableField("actual_amt")
	private Integer actualAmt;
    /**
     * 承运商ID
     */
	@TableField("lsp_id")
	private Integer lspId;
    /**
     * 租户ID
     */
	@TableField("tenant_id")
	private Integer tenantId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getStatDate() {
		return statDate;
	}

	public void setStatDate(Date statDate) {
		this.statDate = statDate;
	}

	public Integer getRouteId() {
		return routeId;
	}

	public void setRouteId(Integer routeId) {
		this.routeId = routeId;
	}

	public Integer getShareAmt() {
		return shareAmt;
	}

	public void setShareAmt(Integer shareAmt) {
		this.shareAmt = shareAmt;
	}

	public Integer getActualAmt() {
		return actualAmt;
	}

	public void setActualAmt(Integer actualAmt) {
		this.actualAmt = actualAmt;
	}

	public Integer getLspId() {
		return lspId;
	}

	public void setLspId(Integer lspId) {
		this.lspId = lspId;
	}

	public Integer getTenantId() {
		return tenantId;
	}

	public void setTenantId(Integer tenantId) {
		this.tenantId = tenantId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "LspSharePerformance{" +
			", id=" + id +
			", statDate=" + statDate +
			", routeId=" + routeId +
			", shareAmt=" + shareAmt +
			", actualAmt=" + actualAmt +
			", lspId=" + lspId +
			", tenantId=" + tenantId +
			"}";
	}
}
